package com.ruoyi.web.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;

/**
 */
@Data
public class AppUserVO {

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 父级id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 授权地址
     */
    @Excel(name = "授权地址")
    private String address;

    /**
     * 授权公链
     */
    @Excel(name = "授权公链")
    private String chain;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 护照号码
     */
    @Excel(name = "护照号码")
    private String identityNumber;

    /**
     * 邀请码
     */
    @Excel(name = "邀请码")
    private String invitationCode;

    /**
     * 是否代理
     */
    @Excel(name = "是否代理")
    private String isAgent;

    /**
     * VIP等级
     */
    @Excel(name = "VIP等级")
    private Integer vipLevel;


    private LocalDateTime createTime;

    /**
     * 邀请层级
     */
    private Integer inviteLevel;

    /**
     * 一级邀请人数
     */
    private Integer invite1Num;

}
